/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package monitoring.beans.database;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

/**
 *
 * @author Regulus
 */
public class MonitoringDB {
    private int row;
    private Denomination denomination;
    private Technicalcollection technicalCollection;
    private Digitizer digitizer;
    private Culture  culture;
    private Cultivar cultivar;
    private PredominantBiome predominantBiome;
    private Date installationDate;
    private Timestamp installationTime;
    private Date collectDate;
    private Timestamp collectTime;
    private SurroundingsCulture surroundingsCulture;
    private SurroundingsVegetation surroundingsVegetation;
    private Integer plotNumber;
    private Integer amostralNumber;
    private ColorPanTrap colorPanTrap;
    private SupportType supportType;
    private BigDecimal floorHeight;
    private BigDecimal weight;
    private Collector collector;
    private BigDecimal width;
    private BigDecimal length;
    private BigDecimal height;
    private GeospatialElement geospatialElement;
    private LocalityElement localityElement;
    private TaxonomicElement taxonomicElement;
    private RecordLevelElement recordLevelElement;
    private OccurrenceElement ocurrenceElement;
    
    private String idGeral;
    private Integer idMonitoring;
    
    public Integer getAmostralNumber() {
        return amostralNumber;
    }

    public void setAmostralNumber(Integer amostralNumber) {
        this.amostralNumber = amostralNumber;
    }

    public Date getCollectDate() {
        return collectDate;
    }

    public void setCollectDate(Date collectDate) {
        this.collectDate = collectDate;
    }

    public Timestamp getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Timestamp collectTime) {
        this.collectTime = collectTime;
    }

    public Collector getCollector() {
        return collector ==  null? new Collector():collector;
    }

    public void setCollector(Collector collector) {
        this.collector = collector;
    }

    public ColorPanTrap getColorPanTrap() {
        return colorPanTrap == null? new ColorPanTrap():colorPanTrap;
    }

    public void setColorPanTrap(ColorPanTrap colorPanTrap) {
        this.colorPanTrap = colorPanTrap;
    }

    public Cultivar getCultivar() {
        return cultivar == null? new Cultivar():cultivar;
    }

    public void setCultivar(Cultivar cultivar) {
        this.cultivar = cultivar;
    }

    public Culture getCulture() {
        return culture == null? new Culture():culture;
    }

    public void setCulture(Culture culture) {
        this.culture = culture;
    }

    public Denomination getDenomination() {
        return denomination == null? new Denomination(): denomination;
    }

    public void setDenomination(Denomination denomination) {
        this.denomination = denomination;
    }

    public Digitizer getDigitizer() {
        return digitizer == null? new Digitizer():digitizer;
    }

    public void setDigitizer(Digitizer digitizer) {
        this.digitizer = digitizer;
    }

    

    public GeospatialElement getGeospatialElement() {
        return geospatialElement == null?new GeospatialElement():geospatialElement;
    }

    public void setGeospatialElement(GeospatialElement geospatialElement) {
        this.geospatialElement = geospatialElement;
    }

    public BigDecimal getHeight() {
        return height;
    }

    public void setHeight(BigDecimal height) {
        this.height = height;
    }

    public Date getInstallationDate() {
        return installationDate;
    }

    public void setInstallationDate(Date instalationDate) {
        this.installationDate = instalationDate;
    }

    public Timestamp getInstallationTime() {
        return installationTime;
    }

    public void setInstallationTime(Timestamp installationTime) {
        this.installationTime = installationTime;
    }

    public BigDecimal getLength() {
        return length;
    }

    public void setLength(BigDecimal length) {
        this.length = length;
    }

    public LocalityElement getLocalityElement() {
        return localityElement == null?new LocalityElement():localityElement;
    }

    public void setLocalityElement(LocalityElement localityElement) {
        this.localityElement = localityElement;
    }

    public OccurrenceElement getOcurrenceElement() {
        return ocurrenceElement == null? new OccurrenceElement():ocurrenceElement;
    }

    public void setOcurrenceElement(OccurrenceElement ocurrenceElement) {
        this.ocurrenceElement = ocurrenceElement;
    }

    public Integer getPlotNumber() {
        return plotNumber;
    }

    public void setPlotNumber(Integer plotNumber) {
        this.plotNumber = plotNumber;
    }

    public PredominantBiome getPredominantBiome() {
        return predominantBiome == null? new PredominantBiome():predominantBiome;
    }

    public void setPredominantBiome(PredominantBiome predominantBiome) {
        this.predominantBiome = predominantBiome;
    }

    public RecordLevelElement getRecordLevelElement() {
        return recordLevelElement == null? new RecordLevelElement(): recordLevelElement;
    }

    public void setRecordLevelElement(RecordLevelElement recordLevelElement) {
        this.recordLevelElement = recordLevelElement;
    }

    public SupportType getSupportType() {
        return supportType == null?new SupportType():supportType;
    }

    public void setSupportType(SupportType supportType) {
        this.supportType = supportType;
    }

    public SurroundingsCulture getSurroundingsCulture() {
        return surroundingsCulture == null? new SurroundingsCulture():surroundingsCulture;
    }

    public void setSurroundingsCulture(SurroundingsCulture surroundingsCulture) {
        this.surroundingsCulture = surroundingsCulture;
    }

    public TaxonomicElement getTaxonomicElement() {
        return taxonomicElement == null? new TaxonomicElement():taxonomicElement;
    }

    public void setTaxonomicElement(TaxonomicElement taxonomicElement) {
        this.taxonomicElement = taxonomicElement;
    }

    public Technicalcollection getTechnicalCollection() {
        return technicalCollection == null? new Technicalcollection():technicalCollection;
    }

    public void setTechnicalCollection(Technicalcollection technicalCollection) {
        this.technicalCollection = technicalCollection;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getWidth() {
        return width;
    }

    public void setWidth(BigDecimal width) {
        this.width = width;
    }
    
    public BigDecimal getFloorHeight() {
        return floorHeight;
    }

    public void setFloorheight(BigDecimal floorHeight) {
        this.floorHeight = floorHeight;
    }

    public String getIdGeral() {
        return idGeral;
    }

    public void setIdGeral(String idGeral) {
        this.idGeral = idGeral;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public Integer getIdMonitoring() {
        return idMonitoring;
    }

    public void setIdMonitoring(Integer idMonitoring) {
        this.idMonitoring = idMonitoring;
    }

    public SurroundingsVegetation getSurroundingsVegetation() {
        return surroundingsVegetation;
    }

    public void setSurroundingsVegetation(SurroundingsVegetation surroundingsVegetation) {
        this.surroundingsVegetation = surroundingsVegetation;
    }

    
    public MonitoringDB(Denomination denomination, Technicalcollection technicalCollection, Digitizer digitizer, Culture culture, Cultivar cultivar, PredominantBiome predominantBiome, Date installationDate, Timestamp installationTime, Date collectDate, Timestamp collectTime, SurroundingsCulture surroundingsCulture, Integer plotNumber, Integer amostralNumber, ColorPanTrap colorPanTrap, SupportType supportType, BigDecimal floorHeight, BigDecimal weight, Collector collector, BigDecimal width, BigDecimal length, BigDecimal height, GeospatialElement geospatialElement, LocalityElement localityElement, TaxonomicElement taxonomicElement, RecordLevelElement recordLevelElement, OccurrenceElement ocurrenceElement, String entorno, String idGeral) {
        this.denomination = denomination;
        this.technicalCollection = technicalCollection;
        this.digitizer = digitizer;
        this.culture = culture;
        this.cultivar = cultivar;
        this.predominantBiome = predominantBiome;
        this.installationDate = installationDate;
        this.installationTime = installationTime;
        this.collectDate = collectDate;
        this.collectTime = collectTime;
        this.surroundingsCulture = surroundingsCulture;
        this.plotNumber = plotNumber;
        this.amostralNumber = amostralNumber;
        this.colorPanTrap = colorPanTrap;
        this.supportType = supportType;
        this.floorHeight = floorHeight;
        this.weight = weight;
        this.collector = collector;
        this.width = width;
        this.length = length;
        this.height = height;
        this.geospatialElement = geospatialElement;
        this.localityElement = localityElement;
        this.taxonomicElement = taxonomicElement;
        this.recordLevelElement = recordLevelElement;
        this.ocurrenceElement = ocurrenceElement;
         
        this.idGeral = idGeral;
    }

    public MonitoringDB() {
        this.denomination = new Denomination();
        this.technicalCollection = new Technicalcollection();
        this.digitizer = new Digitizer();
        this.culture = new Culture();
        this.cultivar = new Cultivar();
        this.predominantBiome = new PredominantBiome();        
        this.surroundingsCulture = new SurroundingsCulture();        
        this.surroundingsVegetation = new SurroundingsVegetation();                
        this.colorPanTrap = new ColorPanTrap();
        this.supportType = new SupportType();        
        this.collector = new Collector();        
        this.geospatialElement = new GeospatialElement();
        this.localityElement = new LocalityElement();
        this.taxonomicElement = new TaxonomicElement();
        this.recordLevelElement = new RecordLevelElement();
        this.ocurrenceElement = new OccurrenceElement();
        
        this.idGeral = "";
    }

}
